package net.zjitc.entity.reports;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 毛钰深
 * @create 2022/2/6
 */

public class ReportsOne {
    private Common<String> legend;
    @JsonProperty
    private List<Common<Date>> xAxis;
    @JsonProperty
    private List<CommonType> yAxis;
    private List<Series> series;

    public Common<String> getLegend() {
        return legend;
    }

    public void setLegend(Common<String> legend) {
        this.legend = legend;
    }

    @JsonIgnore
    public List<CommonType> getYAxis() {
        return yAxis;
    }
    @JsonIgnore
    public void setYAxis(List<CommonType> yAxis) {
        this.yAxis = yAxis;
    }
    @JsonIgnore
    public List<Common<Date>> getXAxis() {
        return xAxis;
    }
    @JsonIgnore
    public void setXAxis(List<Common<Date>> xAxis) {
        this.xAxis = xAxis;
    }

    public List<Series> getSeries() {
        return series;
    }

    public void setSeries(List<Series> series) {
        this.series = series;
    }
}
